/*
 * @Author: wangwei wwdqq7@qq.com
 * @Date: 2025-04-01 15:10:00
 * @LastEditors: wangwei wwdqq7@qq.com
 * @LastEditTime: 2025-04-01 17:14:41
 * @FilePath: /FullStack/pro/typeorm-mysql/src/auth/dto/login.dto.ts
 * @Description: 登录DTO，定义登录请求的数据结构
 */
import { ApiProperty } from '@nestjs/swagger';

export class LoginDto {
  @ApiProperty({
    description: '用户名',
    example: 'admin',
    required: true,
  })
  username: string;

  @ApiProperty({
    description: '密码',
    example: '123456',
    required: true,
  })
  password: string;
}
